#include "HttpResponse.h"

#include <QTcpSocket>

namespace As {

HttpResponse::HttpResponse(QTcpSocket * socket, const QString & body, const QString & status) :
    m_socket(socket),
    m_body(body),
    m_status(status) {}

HttpResponse::HttpResponse():
    m_socket(0) {}

HttpResponse::~HttpResponse() {}

void HttpResponse::addHeader(const QString &key, const QString &value) {
    m_headerMap[key] = value;
}

}
